<?xml version="1.0" encoding="UTF-8"?>
<definitions id="taskAssigneeExample" 
  xmlns="http://www.omg.org/spec/BPMN/20100524/MODEL"
  xmlns:camunda="http://camunda.org/schema/1.0/bpmn"
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  targetNamespace="Examples">
  
  <process id="HistoricFormPropertiesProcess" isExecutable="true">
  
    <startEvent id="start" />
    
    <sequenceFlow id="flow1" sourceRef="start" targetRef="task1" />

    <userTask id="task1" name="Task 1">
       <extensionElements>
       <camunda:formProperty id="formProp1" 
          name="Property 1"
          variable="prop1" 
          type="string" />
        </extensionElements>
    </userTask>
    
    <sequenceFlow id="flow2" sourceRef="task1" targetRef="exclusiveGw" />
    
    <exclusiveGateway id="exclusiveGw" name="Exclusive Gateway" />
    
    <sequenceFlow id="flow3" sourceRef="exclusiveGw" targetRef="task1">
      <conditionExpression xsi:type="tFormalExpression">${comeBack}</conditionExpression>
    </sequenceFlow>
    
    <sequenceFlow id="flow4" sourceRef="exclusiveGw" targetRef="end">
      <conditionExpression xsi:type="tFormalExpression">${!comeBack}</conditionExpression>
    </sequenceFlow>
    
    <endEvent id="end" />
    
  </process>

</definitions>
